Module "Dialog"

Anybody figure out how to get the X-Y position of the "Module" window?

I want to position module-level dialogs directly on top of the module used to invoke them.  I note specifying the Module as the "parent" of the DB is insufficient; "parent" means the Module is brought to the front when the dialog closes.

-Louie


llandale - Thu Jul 10 11:03:26 EDT 2014

Re: Module "Dialog"
Wolfgang Uhr - Fri Jul 11 08:16:15 EDT 2014

Hi Louie

I think that this is not that much easy as you think. You only can solve such a problem from outside of doors and dxl.

If you go from the outside of the programm, search through the actuall running task and its dialogs, you can send resize messages and sort the z-Order. But this you cannot implement inside of dxl.

This is an example to move a window in C#.
http://stackoverflow.com/questions/8443502/how-do-i-change-another-programs-windows-size
 

In any other programming language - yes - but not in dxl.


Best regards
Wolfgang

Re: Module "Dialog"
llandale - Mon Jul 21 17:10:48 EDT 2014

Wolfgang Uhr - Fri Jul 11 08:16:15 EDT 2014

Hi Louie

I think that this is not that much easy as you think. You only can solve such a problem from outside of doors and dxl.

If you go from the outside of the programm, search through the actuall running task and its dialogs, you can send resize messages and sort the z-Order. But this you cannot implement inside of dxl.

This is an example to move a window in C#.
http://stackoverflow.com/questions/8443502/how-do-i-change-another-programs-windows-size
 

In any other programming language - yes - but not in dxl.


Best regards
Wolfgang

I may not, but probably could figure that out and send it to the "system" to be processed.